cmake_minimum_required(VERSION 2.6)
project(sysstat)

add_definitions(-DHAVE_SYS_SYSMACROS_H)

add_library(rdstats_light count.c rd_stats.c)
add_library(syscom common.c ioconf.c systest.c)

add_executable(pidstat pidstat.c)
target_link_libraries(pidstat rdstats_light syscom)

add_executable(iostat iostat.c)
target_link_libraries(iostat rdstats_light syscom)


